package cn.cagurzhan.domain.dto;

import lombok.Data;

import java.util.Map;

/**
 * 下发命令响应值
 * @author AjaxZhan
 */
@Data
public class CommandResultDto {
    private String commandId;
    // 状态码
    private Integer httpStatusCode;
    // 错误消息
    private String errorMsg;
    // 错误码
    private String errorCode;
    // 响应
    private Response response;

    // 响应
    @Data
    public class Response{
        private Object response;
        private Integer result_code;
        private String response_name;
        private Map<String,Object> paras;
    }
}
